﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LINQToolKit.Web
{
    /// <summary>
    /// Represents the interface for the api request objects
    /// </summary>
    public interface IRequest : IDisposable
    {
        RequestResult ExecuteSelect(Uri requestUrl, string post);
        RequestResult ExecuteUpdate(Uri requestUrl, string post);
        RequestResult ExecuteInsert(Uri requestUrl, string post);
        RequestResult ExecuteDelete(Uri requestUrl, string post);
        RequestResult Execute(Uri requestUrl, string httpMethod, string post);
    }
}
